﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VirtualOrg.DB;
using VirtualOrg.Helper;

namespace VirtualOrg.Web
{
    public partial class FormLogoutUser : OboutInc.oboutAJAXPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Cookies.AllKeys.Contains(SiteConstants.CookieName))
            {
                Response.Cookies[SiteConstants.CookieName].Expires = DateTime.Now.AddHours(-1);
                Response.Redirect("~/Default.aspx");
            }
        }
    }
}